this.name               = "OSE Script";
this.author               = "The OSE team";
this.copyright            = "Creative Commons: attribution, non-commercial, sharealike.";
this.description            = "Remove equipment breaking from Cataclysm & sort out NEU";
this.version            = "0.1";

this.reset = function()
   {
   if(missionVariables.thargplans != "MISSION_COMPLETE")
      {
      EquipmentInfo.infoForKey("EQ_NAVAL_ENERGY_UNIT").effectiveTechLevel = 16;
      }
   else
      {
      EquipmentInfo.infoForKey("EQ_NAVAL_ENERGY_UNIT").effectiveTechLevel = 13;
      }

   if(worldScripts["Cataclysm"])
      {
      delete worldScripts["Cataclysm"].dealWithIllicitEquipment1;
      worldScripts["Cataclysm"].dealWithIllicitEquipment1 = function()
         {
         return;
         }
      delete worldScripts["Cataclysm"].dealWithIllicitEquipment2;
      worldScripts["Cataclysm"].dealWithIllicitEquipment2 = function()
         {
         return;
         }
      }
   }